
if "(省采)" in str_1:
    str_1 = str_1.replace("(省采)", '')
if "(省采)" in str_1:
    str_1 = str_1.replace("(省采)", '')
if "(省采1)" in str_1:
    str_1 = str_1.replace("(省采1)", '')
if "(省采2)" in str_1:
    str_1 = str_1.replace("(省采2)", '')
if "(省采3)" in str_1:
    str_1 = str_1.replace("(省采3)", '')
if "(省采4)" in str_1:
    str_1 = str_1.replace("(省采4)", '')
if "(省采5)" in str_1:
    str_1 = str_1.replace("(省采5)", '')
if "(省集1)" in str_1:
    str_1 = str_1.replace("(省集1)", '')
if "(省集)" in str_1:
    str_1 = str_1.replace("(省集)", '')
if "(省集2)" in str_1:
    str_1 = str_1.replace("(省集2)", '')
if "(省集3)" in str_1:
    str_1 = str_1.replace("(省集3)", '')
if "(省集4)" in str_1:
    str_1 = str_1.replace("(省集4)", '')
if "(省集5)" in str_1:
    str_1 = str_1.replace("(省集5)", '')

if "(甲基地)" in str_1:
    str_1 = str_1.replace("(甲基地)", '')
if "(甲新基)" in str_1:
    str_1 = str_1.replace("(甲新基)", '')
if "(JC基)" in str_1:
    str_1 = str_1.replace("(JC基)", '')
if "(上基)" in str_1:
    str_1 = str_1.replace("(上基)", '')
if "(国基)" in str_1:
    str_1 = str_1.replace("(国基)", '')
if "(国基12)" in str_1:
    str_1 = str_1.replace("(国基12)", '')
if "(中国基6)" in str_1:
    str_1 = str_1.replace("(中国基6)", '')
if "(中国基165)" in str_1:
    str_1 = str_1.replace("(中国基165)", '')
if "(中国基53)" in str_1:
    str_1 = str_1.replace("(中国基53)", '')
if "(国基203)" in str_1:
    str_1 = str_1.replace("(国基203)", '')
if "(市基)" in str_1:
    str_1 = str_1.replace("(市基)", '')
if "(基进)" in str_1:
    str_1 = str_1.replace("(基进)", '')
if "(基1)" in str_1:
    str_1 = str_1.replace("(基1)", '')
elif "(基)" in str_1:
    str_1 = str_1.replace("(基)", '')
if "(省基)" in str_1:
    str_1 = str_1.replace("(省基)", '')
if "(非基)" in str_1:
    str_1 = str_1.replace("(非基)", '')
if "(非/离)" in str_1:
    str_1 = str_1.replace("(非/离)", '')
if str_1[:4] == "带量基-":
    str_1 = str_1[4:]
if str_1[-2:] == "-基":
    str_1 = str_1[:-2]
elif str_1[-2:] == "_基":
    str_1 = str_1[:-2]

if "(集5基)" in str_1:
    str_1 = str_1.replace("(集5基)", '')
if "(基,省采)" in str_1:
    str_1 = str_1.replace("(基,省采)", '')
if "(基、中选)" in str_1:
    str_1 = str_1.replace("(基、中选)", '')
if "(基/集二)" in str_1:
    str_1 = str_1.replace("(基/集二)", '')
if "(国带量采购)" in str_1:
    str_1 = str_1.replace("(国带量采购)", '')
if "(国1带量)" in str_1:
    str_1 = str_1.replace("(国1带量)", '')
if "带(非)" in str_1:
    str_1 = str_1.replace("带(非)", '')
if "带(国)" in str_1:
    str_1 = str_1.replace("带(国)", '')
if "(带3儿)" in str_1:
    str_1 = str_1.replace("(带3儿)", '')
if "(国产5)" in str_1:
    str_1 = str_1.replace("(国产5)", '')
if "(带甲)" in str_1:
    str_1 = str_1.replace("(带甲)", '')
if "(带/甲/基)" in str_1:
    str_1 = str_1.replace("(带/甲/基)", '')
if "(带量甲)" in str_1:
    str_1 = str_1.replace("(带量甲)", '')
if "(国)" in str_1:
    str_1 = str_1.replace("(国)", '')
if "(国荐)" in str_1:
    str_1 = str_1.replace("(国荐)", '')
if "带(市)" in str_1:
    str_1 = str_1.replace("带(市)", '')
if "(市)" in str_1:
    str_1 = str_1.replace("(市)", '')
if "(带)" in str_1:
    str_1 = str_1.replace("(带)", '')
if "(带1)" in str_1:
    str_1 = str_1.replace("(带1)", '')
if "(国带)" in str_1:
    str_1 = str_1.replace("(国带)", '')
if "(带四)" in str_1:
    str_1 = str_1.replace("(带四)", '')
if "(省采)" in str_1:
    str_1 = str_1.replace("(省采)", '')
if "(省带量)" in str_1:
    str_1 = str_1.replace("(省带量)", '')
if "(市谈)" in str_1:
    str_1 = str_1.replace("(市谈)", '')

if "(省2)" in str_1:
    str_1 = str_1.replace("(省2)", '')

if "(统筹)" in str_1:
    str_1 = str_1.replace("(统筹)", '')

if "(兴)" in str_1:
    str_1 = str_1.replace("(兴)", '')

if "(选4基)" in str_1:
    str_1 = str_1.replace("(选4基)", '')

if "(选5基)" in str_1:
    str_1 = str_1.replace("(选5基)", '')

if "(选X)" in str_1:
    str_1 = str_1.replace("(选X)", '')

if "(医保全自付)" in str_1:
    str_1 = str_1.replace("(医保全自付)", '')

if "(适应症)" in str_1:
    str_1 = str_1.replace("(适应症)", '')

if "(社限)" in str_1:
    str_1 = str_1.replace("(社限)", '')

if "(天)" in str_1:
    str_1 = str_1.replace("(天)", '')

if "(普)" in str_1:
    str_1 = str_1.replace("(普)", '')

if "(非省二中)" in str_1:
    str_1 = str_1.replace("(非省二中)", '')

if "(非10%)" in str_1:
    str_1 = str_1.replace("(非10%)", '')

if "(带国)" in str_1:
    str_1 = str_1.replace("(带国)", '')

if "(带//基)" in str_1:
    str_1 = str_1.replace("(带//基)", '')

if "(蔡)" in str_1:
    str_1 = str_1.replace("(蔡)", '')

if "(谈)" in str_1:
    str_1 = str_1.replace("(谈)", '')

if "(挂)" in str_1:
    str_1 = str_1.replace("(挂)", '')

if "(绿)" in str_1:
    str_1 = str_1.replace("(绿)", '')

if "(农)" in str_1:
    str_1 = str_1.replace("(农)", '')

if "(生)" in str_1:
    str_1 = str_1.replace("(生)", '')

if "商品名：" in str_1 or "商品名:" in str_1:
    str_1 = str_1.replace("商品名：", '').replace("商品名:", "")

if "限二线" in str_1 or "(限二线)" in str_1:
    str_1 = str_1.replace("(限二线)", '').replace("限二线", "")

if "(材料费)" in str_1:
    str_1 = str_1.replace("(材料费)", '')

if "(颗粒)" in str_1:
    str_1 = str_1.replace("(颗粒)", '')
elif "(颗)" in str_1:
    str_1 = str_1.replace("(颗)", '')

if "(少)" in str_1:
    str_1 = str_1.replace("(少)", '')

if "(片)" in str_1:
    str_1 = str_1.replace("(片)", '')

if "(运)" in str_1:
    str_1 = str_1.replace("(运)", '')

if "(盟)" in str_1:
    str_1 = str_1.replace("(盟)", '')

if "(肆)" in str_1:
    str_1 = str_1.replace("(肆)", '')

if "(贴)" in str_1:
    str_1 = str_1.replace("(贴)", '')

if "(是)" in str_1:
    str_1 = str_1.replace("(是)", '')

if "(省中选)" in str_1:
    str_1 = str_1.replace("(省中选)", '')
if "(非省选)" in str_1:
    str_1 = str_1.replace("(非省选)", '')
elif "(中选5)" in str_1:
    str_1 = str_1.replace("(中选5)", '')
elif "(中选4)" in str_1:
    str_1 = str_1.replace("(中选4)", '')
elif "(中选3)" in str_1:
    str_1 = str_1.replace("(中选3)", '')
elif "(中选2)" in str_1:
    str_1 = str_1.replace("(中选2)", '')
elif "(中选)" in str_1:
    str_1 = str_1.replace("(中选)", '')
elif "(中选1)" in str_1:
    str_1 = str_1.replace("(中选1)", '')
elif "(非中选)" in str_1:
    str_1 = str_1.replace("(非中选)", '')
elif "(选)" in str_1:
    str_1 = str_1.replace("(选)", '')
if "(选1)" in str_1:
    str_1 = str_1.replace("(选1)", '')
if "(选2)" in str_1:
    str_1 = str_1.replace("(选2)", '')
if "(选3)" in str_1:
    str_1 = str_1.replace("(选3)", '')
if "(选4)" in str_1:
    str_1 = str_1.replace("(选4)", '')
if "(选5)" in str_1:
    str_1 = str_1.replace("(选5)", '')
if "(中选)" in str_1:
    str_1 = str_1.replace("(中选)", '')
elif "(一中选)" in str_1:
    str_1 = str_1.replace("(一中选)", '')
elif "(二中选)" in str_1:
    str_1 = str_1.replace("(二中选)", '')
elif "(四中选)" in str_1:
    str_1 = str_1.replace("(四中选)", '')

if "(联3)" in str_1:
    str_1 = str_1.replace("(联3)", '')

if "(无痛)" in str_1:
    str_1 = str_1.replace("(无痛)", '')

if "(精选)" in str_1:
    str_1 = str_1.replace("(精选)", '')

if "(限/非)" in str_1:
    str_1 = str_1.replace("(限/非)", '')

if "(乙/基)" in str_1:
    str_1 = str_1.replace("(乙/基)", '')

if "(乙甲限)" in str_1:
    str_1 = str_1.replace("(乙甲限)", '')

if "(专)" in str_1:
    str_1 = str_1.replace("(专)", '')

if "(包)" in str_1:
    str_1 = str_1.replace("(包)", '')

if "(警)" in str_1:
    str_1 = str_1.replace("(警)", '')
elif "(警B)" in str_1:
    str_1 = str_1.replace("(警B)", '')
elif "(警C)" in str_1:
    str_1 = str_1.replace("(警C)", '')

if "(明细)" in str_1:
    str_1 = str_1.replace("(明细)", '')

if "(非限制)" in str_1:
    str_1 = str_1.replace("(非限制)", '')

if "(非医保)" in str_1:
    str_1 = str_1.replace("(非医保)", '')

if "(合资)" in str_1:
    str_1 = str_1.replace("(合资)", '')

if "(进口)" in str_1:
    str_1 = str_1.replace("(进口)", '')
elif "(进)" in str_1:
    str_1 = str_1.replace("(进)", '')

if "(d3)" in str_1:
    str_1 = str_1.replace("(d3)", '')

if "(后下)" in str_1:
    str_1 = str_1.replace("(后下)", '')

if "(包煎)" in str_1:
    str_1 = str_1.replace("(包煎)", '')

if "(塑瓶)" in str_1:
    str_1 = str_1.replace("(塑瓶)", '')
elif "塑瓶" in str_1:
    str_1 = str_1.replace("塑瓶", '')
elif "(塑)" in str_1:
    str_1 = str_1.replace("(塑)", '')

if "(用时捣碎)" in str_1:
    str_1 = str_1.replace("(用时捣碎)", '')

if "(捣碎)" in str_1:
    str_1 = str_1.replace("(捣碎)", '')

if "(集采基)" in str_1:
    str_1 = str_1.replace("(集采基)", '')

if "(国五带量)" in str_1:
    str_1 = str_1.replace("(国五带量)", '')

if "(国家带量采)" in str_1:
    str_1 = str_1.replace("(国家带量采)", '')

if "(国家带购)" in str_1:
    str_1 = str_1.replace("(国家带购)", '')

if "(软袋)" in str_1:
    str_1 = str_1.replace("(软袋)", '')
elif str_1[-3:] == "(软袋":
    str_1 = str_1[:-3]

if "(儿科可记帐)" in str_1:
    str_1 = str_1.replace("(儿科可记帐)", '')

if "(少儿基金不支付)" in str_1:
    str_1 = str_1.replace("(少儿基金不支付)", '')

if "(少儿专用)" in str_1:
    str_1 = str_1.replace("(少儿专用)", '')

if "(儿童用药)" in str_1:
    str_1 = str_1.replace("(儿童用药)", '')

if "(限儿童)" in str_1:
    str_1 = str_1.replace("(限儿童)", '')
elif "限儿童" in str_1:
    str_1 = str_1.replace("限儿童", '')
if "(儿科用)" in str_1:
    str_1 = str_1.replace("(儿科用)", '')

if "(儿保)" in str_1:
    str_1 = str_1.replace("(儿保)", '')

if "(基药)" in str_1:
    str_1 = str_1.replace("(基药)", '')

if "(价高药)" in str_1:
    str_1 = str_1.replace("(价高药)", '')
if "价高药" in str_1:
    str_1 = str_1.replace("价高药", '')

if "(价高)" in str_1:
    str_1 = str_1.replace("(价高)", '')
if "价高" in str_1:
    str_1 = str_1.replace("价高", '')
if "(高)" in str_1:
    str_1 = str_1.replace("(高)", '')

if "(带量/基)" in str_1:
    str_1 = str_1.replace("(带量/基)", '')
if "(带量)" in str_1:
    str_1 = str_1.replace("(带量)", '')
if "(基;带量)" in str_1:
    str_1 = str_1.replace("(基;带量)", '')
if "(基/高危)" in str_1:
    str_1 = str_1.replace("(基/高危)", '')

if "(发热门诊)" in str_1:
    str_1 = str_1.replace("(发热门诊)", '')

if "(化验)" in str_1:
    str_1 = str_1.replace("(化验)", '')
if "(化)" in str_1:
    str_1 = str_1.replace("(化)", '')

if "(危)" in str_1:
    str_1 = str_1.replace("(危)", '')

if "(农)" in str_1:
    str_1 = str_1.replace("(农)", '')

if "(F)" in str_1:
    str_1 = str_1.replace("(F)", '')

if "(袋)" in str_1:
    str_1 = str_1.replace("(袋)", '')

if "(急诊)" in str_1:
    str_1 = str_1.replace("(急诊)", '')
if "(急)" in str_1:
    str_1 = str_1.replace("(急)", '')

if "(优先)" in str_1:
    str_1 = str_1.replace("(优先)", '')

if "(协)" in str_1:
    str_1 = str_1.replace("(协)", '')

if "(特)" in str_1:
    str_1 = str_1.replace("(特)", '')
if "(特需)" in str_1:
    str_1 = str_1.replace("(特需)", '')

if "(限)" in str_1:
    str_1 = str_1.replace("(限)", '')
if "(限中外科)" in str_1:
    str_1 = str_1.replace("(限中外科)", '')

if "(委托)" in str_1:
    str_1 = str_1.replace("(委托)", '')

if "(精一)" in str_1:
    str_1 = str_1.replace("(精一)", '')
elif "(精二)" in str_1:
    str_1 = str_1.replace("(精二)", '')

if "(入院)" in str_1:
    str_1 = str_1.replace("(入院)", '')

if r"(1\10)" in str_1:
    str_1 = str_1.replace(r"(1\10)", '')

if "(外8)" in str_1:
    str_1 = str_1.replace("(外8)", '')

if "(招标)" in str_1:
    str_1 = str_1.replace("(招标)", '')

if "(北)" in str_1:
    str_1 = str_1.replace("(北)", '')
if "(北/远)" in str_1:
    str_1 = str_1.replace("(北/远)", '')

if "(笔)" in str_1:
    str_1 = str_1.replace("(笔)", '')

if "(限医)" in str_1:
    str_1 = str_1.replace("(限医)", '')
if "(限量)" in str_1:
    str_1 = str_1.replace("(限量)", '')
if "(限用)" in str_1:
    str_1 = str_1.replace("(限用)", '')

if "(小)" in str_1:
    str_1 = str_1.replace("(小)", '')

if "(跌)" in str_1:
    str_1 = str_1.replace("(跌)", '')

if "(高警示)" in str_1:
    str_1 = str_1.replace("(高警示)", '')

if "(警A)" in str_1:
    str_1 = str_1.replace("(警A)", '')

if "(警跌)" in str_1:
    str_1 = str_1.replace("(警跌)", '')

if "(高危)" in str_1:
    str_1 = str_1.replace("(高危)", '')

if "(量)" in str_1:
    str_1 = str_1.replace("(量)", '')

if "(临)" in str_1:
    str_1 = str_1.replace("(临)", '')

if "(临采)" in str_1:
    str_1 = str_1.replace("(临采)", '')

if "(玻瓶)" in str_1:
    str_1 = str_1.replace("(玻瓶)", '')

if "(软包装)" in str_1:
    str_1 = str_1.replace("(软包装)", '')

if "(制)" in str_1:
    str_1 = str_1.replace("(制)", '')

if "(集)" in str_1:
    str_1 = str_1.replace("(集)", '')

if "(非)" in str_1:
    str_1 = str_1.replace("(非)", '')

if "(长)" in str_1:
    str_1 = str_1.replace("(长)", '')

if "(乙进)" in str_1:
    str_1 = str_1.replace("(乙进)", '')

if "(中乙限)" in str_1:
    str_1 = str_1.replace("(中乙限)", '')
    str_1 = str_1.replace("(中乙限", '')
elif "中乙限" in str_1 and "(中乙限)" not in str_1 and "中乙限)" not in str_1 and "(中乙限" not in str_1:
    str_1 = str_1.replace("中乙限", '')
if "(中乙)" in str_1:
    str_1 = str_1.replace("(中乙)", '')
elif "中乙" in str_1 and "(中乙)" not in str_1 and "中乙)" not in str_1 and "(中乙" not in str_1:
    str_1 = str_1.replace("中乙", '')

if str_1[:2] == "乙甲":
    str_1 = str_1.replace("乙甲", '')

if "(非限定)" in str_1:
    str_1 = str_1.replace("(非限定)", '')

if "(乙地)" in str_1:
    str_1 = str_1.replace("(乙地)", '')

if "(限门个)" in str_1:
    str_1 = str_1.replace("(限门个)", '')

if "(/g)" in str_1:
    str_1 = str_1.replace("(/g)", '')
if "(全)" in str_1:
    str_1 = str_1.replace("(全)", '')
if "(膏)" in str_1:
    str_1 = str_1.replace("(膏)", '')
if "(散)" in str_1:
    str_1 = str_1.replace("(散)", '')
if str_1[:3] == "粉剂-":
    str_1 = str_1[3:]

if str_1[:3] in ["集采1", "集采2", "集采3", "集采4", "集采5", "集采一", "集采二", "集采三", "集采四", "集采五"]:
    str_1 = str_1[3:]

if "(带量/基/高危)" in str_1:
    str_1 = str_1.replace("(带量/基/高危)", '')

if "(市医保)" in str_1:
    str_1 = str_1.replace("(市医保)", '')

if "(配方)" in str_1:
    str_1 = str_1.replace("(配方)", '')

if "(医保)" in str_1:
    str_1 = str_1.replace("(医保)", '')

if "(一线)" in str_1:
    str_1 = str_1.replace("(一线)", '')

if "(中医院)" in str_1:
    str_1 = str_1.replace("(中医院)", '')

if "(塑袋)" in str_1:
    str_1 = str_1.replace("(塑袋)", '')

if "(免煎机配)" in str_1:
    str_1 = str_1.replace("(免煎机配)", '')

if "(玻璃瓶)" in str_1:
    str_1 = str_1.replace("(玻璃瓶)", '')
elif "(塑瓶)" in str_1:
    str_1 = str_1.replace("(塑瓶)", '')

if "(10 %)" in str_1:
    str_1 = str_1.replace("(10 %)", '')
if "(10%)" in str_1:
    str_1 = str_1.replace("(10%)", '')

if str_1[:2] == "绿-":
    str_1 = str_1[2:]

if str_1[-1] == '.':
    str_1 = str_1[:-1]

# 开头的特殊字符
if str_1[:3] == "GJS" and is_chinese(str_1[3]):
    str_1 = str_1[3:]
elif str_1[:3] == "JTY" and is_chinese(str_1[3]):
    str_1 = str_1[3:]
elif str_1[:3] == "JYX" and is_chinese(str_1[3]):
    str_1 = str_1[3:]
elif str_1[:3] == "gcj" and is_chinese(str_1[3]):
    str_1 = str_1[3:]
elif str_1[:3] == "gc4":
    str_1 = str_1[3:]
elif str_1[:3] == "gc3":
    str_1 = str_1[3:]
elif str_1[:3] == "gc2":
    str_1 = str_1[3:]
elif str_1[:2] == "GJ" and is_chinese(str_1[2]):
    str_1 = str_1[2:]
elif str_1[:2] == "G*" and is_chinese(str_1[2]):
    str_1 = str_1[2:]
elif str_1[:2] == "GY" and is_chinese(str_1[2]):
    str_1 = str_1[2:]
elif str_1[:2] == "JG" and is_chinese(str_1[2]):
    str_1 = str_1[2:]
elif str_1[:2] == "JH" and is_chinese(str_1[2]):
    str_1 = str_1[2:]
elif str_1[:2] == "JS" and is_chinese(str_1[2]):
    str_1 = str_1[2:]
elif str_1[:2] == "JY" and is_chinese(str_1[2]):
    str_1 = str_1[2:]
elif str_1[:2] == "GC" and is_chinese(str_1[2]):
    str_1 = str_1[2:]
elif str_1[:2] == "S*" and is_chinese(str_1[2]):
    str_1 = str_1[2:]
elif str_1[:2] == "gc" and is_chinese(str_1[2]):
    str_1 = str_1[2:]
elif str_1[0] == "J" and is_chinese(str_1[1]):
    str_1 = str_1[1:]
elif str_1[0] == "H" and is_chinese(str_1[1]):
    str_1 = str_1[1:]
elif str_1[0] == "E" and is_chinese(str_1[1]):
    str_1 = str_1[1:]
elif str_1[0] == "G" and is_chinese(str_1[1]):
    str_1 = str_1[1:]
elif str_1[0] == "z" and is_chinese(str_1[1]):
    str_1 = str_1[1:]
elif str_1[0] == "Z" and is_chinese(str_1[1]):
    str_1 = str_1[1:]
elif str_1[0] == "j" and is_chinese(str_1[1]):
    str_1 = str_1[1:]
elif str_1[0] == "K" and is_chinese(str_1[1]):
    str_1 = str_1[1:]
elif str_1[0] == "B" and is_chinese(str_1[1]) and "B超" not in str_1:
    str_1 = str_1[1:]
elif str_1[0] == "A" and is_chinese(str_1[1]) and "A超" not in str_1:
    str_1 = str_1[1:]

if str_1[0] == "#":
    str_1 = str_1[1:]
if str_1[0] == "*":
    str_1 = str_1[1:]

# 结尾的特殊字符(*GΩ
for x in range(5):
    if str_1[-1] == "(":
        str_1 = str_1[:-1]
    else:
        break
if str_1[-1] == "*":
    str_1 = str_1[:-1]
if str_1[-1] == "Ω":
    str_1 = str_1[:-1]

if str_1[-2:] == "G1" and is_chinese(str_1[-3]):
    str_1 = str_1[:-2]
elif str_1[-2:] == "G2" and is_chinese(str_1[-3]):
    str_1 = str_1[:-2]
elif str_1[-2:] == "G3" and is_chinese(str_1[-3]):
    str_1 = str_1[:-2]
elif str_1[-2:] == "G4" and is_chinese(str_1[-3]):
    str_1 = str_1[:-2]
elif str_1[-2:] == "G5" and is_chinese(str_1[-3]):
    str_1 = str_1[:-2]
elif str_1[-2:] == "G6" and is_chinese(str_1[-3]):
    str_1 = str_1[:-2]
elif str_1[-2:] == "G7" and is_chinese(str_1[-3]):
    str_1 = str_1[:-2]
elif str_1[-2:] == "G8" and is_chinese(str_1[-3]):
    str_1 = str_1[:-2]
elif str_1[-2:] == "G9" and is_chinese(str_1[-3]):
    str_1 = str_1[:-2]
elif str_1[-1] == "G" and is_chinese(str_1[-2]):
    str_1 = str_1[:-1]

if str_1[-2:] == "J1" and is_chinese(str_1[-3]):
    str_1 = str_1[:-2]
elif str_1[-2:] == "J2" and is_chinese(str_1[-3]):
    str_1 = str_1[:-2]
elif str_1[-2:] == "J3" and is_chinese(str_1[-3]):
    str_1 = str_1[:-2]
elif str_1[-2:] == "J4" and is_chinese(str_1[-3]):
    str_1 = str_1[:-2]
elif str_1[-2:] == "J5" and is_chinese(str_1[-3]):
    str_1 = str_1[:-2]
elif str_1[-2:] == "J6" and is_chinese(str_1[-3]):
    str_1 = str_1[:-2]
elif str_1[-2:] == "J7" and is_chinese(str_1[-3]):
    str_1 = str_1[:-2]
elif str_1[-2:] == "J8" and is_chinese(str_1[-3]):
    str_1 = str_1[:-2]
elif str_1[-2:] == "J9" and is_chinese(str_1[-3]):
    str_1 = str_1[:-2]
elif str_1[-1] == "J" and is_chinese(str_1[-2]):
    str_1 = str_1[:-1]

if str_1[-2:] == "H1" and is_chinese(str_1[-3]):
    str_1 = str_1[:-2]
elif str_1[-2:] == "H2" and is_chinese(str_1[-3]):
    str_1 = str_1[:-2]
elif str_1[-2:] == "H3" and is_chinese(str_1[-3]):
    str_1 = str_1[:-2]
elif str_1[-2:] == "H4" and is_chinese(str_1[-3]):
    str_1 = str_1[:-2]
elif str_1[-2:] == "H5" and is_chinese(str_1[-3]):
    str_1 = str_1[:-2]
elif str_1[-2:] == "H6" and is_chinese(str_1[-3]):
    str_1 = str_1[:-2]
elif str_1[-2:] == "H7" and is_chinese(str_1[-3]):
    str_1 = str_1[:-2]
elif str_1[-2:] == "H8" and is_chinese(str_1[-3]):
    str_1 = str_1[:-2]
elif str_1[-2:] == "H9" and is_chinese(str_1[-3]):
    str_1 = str_1[:-2]
elif str_1[-1] == "H" and is_chinese(str_1[-2]):
    str_1 = str_1[:-1]

if str_1[-2:] == "JP" and is_chinese(str_1[-3]):
    str_1 = str_1[:-2]
if str_1[-2:] == "KA" and is_chinese(str_1[-3]):
    str_1 = str_1[:-2]
if str_1[-1:] == "K" and is_chinese(str_1[-2]):
    str_1 = str_1[:-1]

if "g *" in str_1:
    str_1 = str_1.replace("g *", "g*")

# 去掉规格
# 5mg/10mg*7片/盒
# 4毫克:5毫升*1支/支
# 100毫克:5毫升*1支/支
# 5ml:15mg*1支/支
# 10ml:0.5g*1支/支
# 500毫升:25克:4.5克/瓶
# 250μg:2ml*1支/支
# 250mg:2ml*1支/支
# 5ml:24.4mg*1瓶/瓶
# 1.2克：30毫升*1瓶/瓶
# 10ml:90mg*5支/盒
# 1g:37.5mg*18袋/盒
# 15毫升:1.5克*15袋/盒
# 0.15毫克/30毫升*1瓶
# 2.5g/50ml*1袋
# 1克/10毫升*1瓶
# 15mg/250ml*1支
# 15g:2mlx10支
# 20ml:0.2g*5支
# 10ml*12支*1盒
# 0.15mg/30ml*1盒
# 5ml:100mg*1支
# 0.2g×15袋×1盒
# 0.2g/100ml*1瓶
# (0.5G:4mg*10)
# 5mg*5ml/支
# 5g*10ml/支
# 1g:5ml/支
# 5ml:24.4mg/支
# 10ml:10mg/瓶
# 10ml*8支/盒
# 14g*4贴/盒
# 0.1G*6袋/盒
# 100ml:2g×瓶
# 0.4毫升*10只/盒
# 10毫升*12支/盒
# 0.25mg*12粒/盒
# 500毫克*10颗/盒
# 0.09g×12包/盒
# 0.25g*12粒/盒
# 5mgx20粒/盒
# 20毫克*28片/盒
# 7.5mgx7片/盒
# # 0.15g:100ml/瓶
# 50mg*60粒/瓶
# 0.25gx32粒/瓶
# 90ml*1瓶/瓶
# 100毫升*1瓶/瓶
# 0.2g*1瓶/瓶
# 500毫升*1袋/袋
# 0.4毫克*31片/瓶
# 10mgx100片/瓶
# 15ml:0.6g/瓶
# 0.62g×36片×1盒
# 150mg*20/盒
# 50mg/10*6贴
# 20克*1支/支
# 3毫升*1支/支
# 1g*6包/袋
# 5mg/10mg/片
# 5mg/10mg*7片
# 40mm*110mm/4贴装
# 200mg:20ml*1
# 50ug*60掀*1
# 100毫克2毫升/支
# 500毫升4.5克/瓶
# 5ml:5mg
# 5ml:5g
# 2.1万IU:5g
# 2000IU:5g
# 20g:10万单位
# 500mg*40片
# (75单位*10支)
# 1片*12片
# 0.1g*6片
# 0.5mgx20片
# 15g*10袋
# 3gx6袋
# 50mg*12袋
# 250ml*1袋
# 100毫升*1袋
# 6g*24包
# 280ml×1瓶
# 5ml*1瓶
# 2.5iu*1瓶
# 0.5gx48粒
# 50mg*80粒
# 0.125g*12粒
# 26cm*36cm
# 0.5mg*1支
# 0.5g*1支
# 0.75g*1瓶
# 100毫升*1瓶
# 10毫升*12支
# 15ml*1盒
# 0.1g/5ml
# 1g:10ml
# 5ml:5mg
# 10单位*10支
# 0.5g*30tb
# 50ug*60揿
# 0.05mg*60掀
# 15mg/支
# 15毫克/支
# 20ml/支
# 15g/支
# 10粒/盒
# 10片/盒
# 5支/盒
# 69.56克/盒
# 0.75g/瓶
# 250毫升/瓶
# 250ml/袋
# 250ml/瓶
# 100ml32g
# 1MG*14
# 0.25g*30
# (10*10cm)
# 35*43
# (14*17)
# 15mg
# 6g
# 6粒
# 6片
str_1 = re.sub(
    "\d+(\.\d+)?毫克/\d+(\.\d+)?毫克\*\d+(\.\d+)?片/盒|"
    "\d+(\.\d+)?mg/\d+(\.\d+)?mg\*\d+(\.\d+)?片/盒|"
    "\d+(\.\d+)?毫克:\d+(\.\d+)?毫升\*\d+(\.\d+)?支/支|"
    "\d+(\.\d+)?毫升:\d+(\.\d+)?毫升\*\d+(\.\d+)?支/支|"
    "\d+(\.\d+)?ml:\d+(\.\d+)?ml\*\d+(\.\d+)?支/支|"
    "\d+(\.\d+)?ml:\d+(\.\d+)?mg\*\d+(\.\d+)?支/支|"
    "\d+(\.\d+)?ml:\d+(\.\d+)?g\*\d+(\.\d+)?支/支|"
    "\d+(\.\d+)?mg:\d+(\.\d+)?mlx\d+(\.\d+)?支/支|"
    "\d+(\.\d+)?毫升:\d+(\.\d+)?克:\d+(\.\d+)?克/瓶|"
    "\d+(\.\d+)?μg:\d+(\.\d+)?ml\*\d+(\.\d+)?支/支|"
    "\d+(\.\d+)?mg:\d+(\.\d+)?ml\*\d+(\.\d+)?支/支|"
    "\d+(\.\d+)?ml:\d+(\.\d+)?g:\d+(\.\d+)?g/瓶|"
    "\d+(\.\d+)?ml:\d+(\.\d+)?mg\*\d+(\.\d+)?支/盒|"
    "\d+(\.\d+)?ml:\d+(\.\d+)?mg\*\d+(\.\d+)?瓶/瓶|"
    "\d+(\.\d+)?克:\d+(\.\d+)?毫升\*\d+(\.\d+)?瓶/瓶|"
    "\d+(\.\d+)?g:\d+(\.\d+)?ml\*\d+(\.\d+)?瓶/瓶|"
    "\d+(\.\d+)?g:\d+(\.\d+)?mg\*\d+(\.\d+)?袋/盒|"
    "\d+(\.\d+)?ml:\d+(\.\d+)?g\*\d+(\.\d+)?袋/盒|"
    "\d+(\.\d+)?毫升:\d+(\.\d+)?克\*\d+(\.\d+)?袋/盒|"
    "\d+(\.\d+)?mg/\d+(\.\d+)?ml\*\d+(\.\d+)?袋|"
    "\d+(\.\d+)?g/\d+(\.\d+)?ml\*\d+(\.\d+)?袋|"
    "\d+(\.\d+)?g:\d+(\.\d+)?ml\*\d+(\.\d+)?瓶|"
    "\d+(\.\d+)?克/\d+(\.\d+)?毫升\*\d+(\.\d+)?瓶|"
    "\d+(\.\d+)?毫克/\d+(\.\d+)?毫升\*\d+(\.\d+)?瓶|"
    "\d+(\.\d+)?g\*\d+(\.\d+)?片\*\d+(\.\d+)?盒|"
    "\d+(\.\d+)?mg/\d+(\.\d+)?ml\*\d+(\.\d+)?支|"
    "\d+(\.\d+)?g/\d+(\.\d+)?ml\*\d+(\.\d+)?支|"
    "\d+(\.\d+)?克/\d+(\.\d+)?毫升\*\d+(\.\d+)?支|"
    "\d+(\.\d+)?毫克/\d+(\.\d+)?毫升\*\d+(\.\d+)?支|"
    "\d+(\.\d+)?mg/\d+(\.\d+)?万U\*\d+(\.\d+)?支|"
    "\d+(\.\d+)?mg:\d+(\.\d+)?mlx\d+(\.\d+)?支|"
    "\d+(\.\d+)?g:\d+(\.\d+)?mlx\d+(\.\d+)?支|"
    "\d+(\.\d+)?ml:\d+(\.\d+)?mg\*\d+(\.\d+)?支|"
    "\d+(\.\d+)?ml:\d+(\.\d+)?g\*\d+(\.\d+)?支|"
    "\d+(\.\d+)?g/\d+(\.\d+)?万U\*\d+(\.\d+)?支|"
    "\d+(\.\d+)?ml\*\d+(\.\d+)?支\*\d+(\.\d+)?盒|"
    "\d+(\.\d+)?mg\*\d+(\.\d+)?ml\*\d+(\.\d+)?盒|"
    "\d+(\.\d+)?毫克\*\d+(\.\d+)?毫升\*\d+(\.\d+)?盒|"
    "\d+(\.\d+)?mg/\d+(\.\d+)?ml\*\d+(\.\d+)?盒|"
    "\d+(\.\d+)?ml:\d+(\.\d+)?mgx\d+(\.\d+)?支|"
    "\d+(\.\d+)?mm\*\d+(\.\d+)?mm/\d+(\.\d+)?贴装|"
    "\d+(\.\d+)?mg\*\d+(\.\d+)?袋\*\d+(\.\d+)?盒|"
    "\d+(\.\d+)?毫克\*\d+(\.\d+)?袋\*\d+(\.\d+)?盒|"
    "\d+(\.\d+)?克\*\d+(\.\d+)?袋\*\d+(\.\d+)?盒|"
    "\d+(\.\d+)?g\*\d+(\.\d+)?袋\*\d+(\.\d+)?盒|"
    "\d+(\.\d+)?mg/\d+(\.\d+)?ml\*\d+(\.\d+)?瓶|"
    "\d+(\.\d+)?g/\d+(\.\d+)?ml\*\d+(\.\d+)?瓶|"
    "\d+(\.\d+)?mg/\d+(\.\d+)?mg\*\d+(\.\d+)?片|"
    "\d+(\.\d+)?g:\d+(\.\d+)?mg\*\d+(\.\d+)?|"
    "\d+(\.\d+)?mg/\d+(\.\d+)?\*\d+(\.\d+)?片|"
    "\d+(\.\d+)?mg/\d+(\.\d+)?\*\d+(\.\d+)?贴|"
    "\d+(\.\d+)?mg\*\d+(\.\d+)?ml/支|"
    "\d+(\.\d+)?ml\*\d+(\.\d+)?mg/支|"
    "\d+(\.\d+)?g\*\d+(\.\d+)?ml/支|"
    "\d+(\.\d+)?mg:\d+(\.\d+)?ml/支|"
    "\d+(\.\d+)?ml:\d+(\.\d+)?mg/支|"
    "\d+(\.\d+)?ml:\d+(\.\d+)?g/支|"
    "\d+(\.\d+)?g:\d+(\.\d+)?ml/支|"
    "\d+(\.\d+)?ml:\d+(\.\d+)?支/盒|"
    "\d+(\.\d+)?mg:\d+(\.\d+)?支/盒|"
    "\d+(\.\d+)?g:\d+(\.\d+)?支/盒|"
    "\d+(\.\d+)?毫克:\d+(\.\d+)?毫升/瓶|"
    "\d+(\.\d+)?mg:\d+(\.\d+)?ml/瓶|"
    "\d+(\.\d+)?ml:\d+(\.\d+)?mg/瓶|"
    "\d+(\.\d+)?克:\d+(\.\d+)?毫升/瓶|"
    "\d+(\.\d+)?g:\d+(\.\d+)?ml/瓶|"
    "\d+(\.\d+)?mg\*\d+(\.\d+)?粒/瓶|"
    "\d+(\.\d+)?g\*\d+(\.\d+)?粒/瓶|"
    "\d+(\.\d+)?gx\d+(\.\d+)?粒/瓶|"
    "\d+(\.\d+)?mgx\d+(\.\d+)?粒/瓶|"
    "\d+(\.\d+)?ml:\d+(\.\d+)?g/瓶|"
    "\d+(\.\d+)?毫升:\d+(\.\d+)?克/瓶|"
    "\d+(\.\d+)?mg\*\d+(\.\d+)?片/瓶|"
    "\d+(\.\d+)?毫克\*\d+(\.\d+)?片/瓶|"
    "\d+(\.\d+)?mgx\d+(\.\d+)?片/瓶|"
    "\d+(\.\d+)?毫克x\d+(\.\d+)?片/瓶|"
    "\d+(\.\d+)?gx\d+(\.\d+)?片/瓶|"
    "\d+(\.\d+)?克x\d+(\.\d+)?片/瓶|"
    "\d+(\.\d+)?g\*\d+(\.\d+)?片/瓶|"
    "\d+(\.\d+)?克\*\d+(\.\d+)?片/瓶|"
    "\d+(\.\d+)?ml\*\d+(\.\d+)?瓶/瓶|"
    "\d+(\.\d+)?毫升\*\d+(\.\d+)?瓶/瓶|"
    "\d+(\.\d+)?毫升x\d+(\.\d+)?瓶/瓶|"
    "\d+(\.\d+)?毫克\*\d+(\.\d+)?瓶/瓶|"
    "\d+(\.\d+)?mg\*\d+(\.\d+)?瓶/瓶|"
    "\d+(\.\d+)?克\*\d+(\.\d+)?瓶/瓶|"
    "\d+(\.\d+)?g\*\d+(\.\d+)?瓶/瓶|"
    "\d+(\.\d+)?ml\*\d+(\.\d+)?袋/袋|"
    "\d+(\.\d+)?毫升\*\d+(\.\d+)?袋/袋|"
    "\d+(\.\d+)?mg\*\d+(\.\d+)?贴/盒|"
    "\d+(\.\d+)?g\*\d+(\.\d+)?贴/盒|"
    "\d+(\.\d+)?毫升\*\d+(\.\d+)?只/盒|"
    "\d+(\.\d+)?ml\*\d+(\.\d+)?只/盒|"
    "\d+(\.\d+)?ml\*\d+(\.\d+)?支/盒|"
    "\d+(\.\d+)?毫升\*\d+(\.\d+)?支/盒|"
    "\d+(\.\d+)?mg\*\d+(\.\d+)?粒/盒|"
    "\d+(\.\d+)?毫克\*\d+(\.\d+)?粒/盒|"
    "\d+(\.\d+)?mgx\d+(\.\d+)?粒/盒|"
    "\d+(\.\d+)?毫克x\d+(\.\d+)?粒/盒|"
    "\d+(\.\d+)?g\*\d+(\.\d+)?粒/盒|"
    "\d+(\.\d+)?克\*\d+(\.\d+)?粒/盒|"
    "\d+(\.\d+)?gx\d+(\.\d+)?粒/盒|"
    "\d+(\.\d+)?克x\d+(\.\d+)?粒/盒|"
    "\d+(\.\d+)?毫克\*\d+(\.\d+)?袋/盒|"
    "\d+(\.\d+)?mg\*\d+(\.\d+)?袋/盒|"
    "\d+(\.\d+)?克\*\d+(\.\d+)?袋/盒|"
    "\d+(\.\d+)?g\*\d+(\.\d+)?袋/盒|"
    "\d+(\.\d+)?mg\*\d+(\.\d+)?包/盒|"
    "\d+(\.\d+)?毫克\*\d+(\.\d+)?包/盒|"
    "\d+(\.\d+)?g\*\d+(\.\d+)?包/盒|"
    "\d+(\.\d+)?克\*\d+(\.\d+)?包/盒|"
    "\d+(\.\d+)?毫克\*\d+(\.\d+)?片/盒|"
    "\d+(\.\d+)?mg\*\d+(\.\d+)?片/盒|"
    "\d+(\.\d+)?毫克x\d+(\.\d+)?片/盒|"
    "\d+(\.\d+)?g\*\d+(\.\d+)?片/盒|"
    "\d+(\.\d+)?mgx\d+(\.\d+)?片/盒|"
    "\d+(\.\d+)?gx\d+(\.\d+)?片/盒|"
    "\d+(\.\d+)?g\*\d+(\.\d+)?支/支|"
    "\d+(\.\d+)?克\*\d+(\.\d+)?支/支|"
    "\d+(\.\d+)?ml\*\d+(\.\d+)?支/支|"
    "\d+(\.\d+)?毫升\*\d+(\.\d+)?支/支|"
    "\d+(\.\d+)?mlx\d+(\.\d+)?支/支|"
    "\d+(\.\d+)?毫升x\d+(\.\d+)?支/支|"
    "\d+(\.\d+)?毫克\*\d+(\.\d+)?包/袋|"
    "\d+(\.\d+)?mg\*\d+(\.\d+)?包/袋|"
    "\d+(\.\d+)?克\*\d+(\.\d+)?包/袋|"
    "\d+(\.\d+)?g\*\d+(\.\d+)?包/袋|"
    "\d+(\.\d+)?mg/\d+(\.\d+)?mg/片|"
    "\d+(\.\d+)?mg\*\d+(\.\d+)?/盒|"
    "\d+(\.\d+)?mg:\d+(\.\d+)?ml\*\d+|"
    "\d+(\.\d+)?ug\*\d+(\.\d+)?掀\*\d+|"
    "\d+(\.\d+)?毫克\d+(\.\d+)?毫升/支|"
    "\d+(\.\d+)?毫升\d+(\.\d+)?克/瓶|"
    "\d+(\.\d+)?g\d+(\.\d+)?袋/盒|"
    "\d+(\.\d+)?ml:\d+(\.\d+)?g\*瓶|"
    "\d+(\.\d+)?毫升:\d+(\.\d+)?克\*瓶|"
    "\d+(\.\d+)?ml:\d+(\.\d+)?ml|"
    "\d+(\.\d+)?g:\d+(\.\d+)?万单位|"
    "\d+(\.\d+)?万IU:\d+(\.\d+)?g|"
    "\d+(\.\d+)?IU:\d+(\.\d+)?g|"
    "\d+(\.\d+)?片\*\d+(\.\d+)?片|"
    "\d+(\.\d+)?mg\*\d+(\.\d+)?片|"
    "\d+(\.\d+)?g\*\d+(\.\d+)?片|"
    "\d+(\.\d+)?mgx\d+(\.\d+)?片|"
    "\d+(\.\d+)?毫克x\d+(\.\d+)?片|"
    "\d+(\.\d+)?毫克\*\d+(\.\d+)?片|"
    "\d+(\.\d+)?gx\d+(\.\d+)?片|"
    "\d+(\.\d+)?克x\d+(\.\d+)?片|"
    "\d+(\.\d+)?克\*\d+(\.\d+)?片|"
    "\d+(\.\d+)?毫克\*\d+(\.\d+)?袋|"
    "\d+(\.\d+)?毫克x\d+(\.\d+)?袋|"
    "\d+(\.\d+)?mg\*\d+(\.\d+)?袋|"
    "\d+(\.\d+)?mgx\d+(\.\d+)?袋|"
    "\d+(\.\d+)?g\*\d+(\.\d+)?袋|"
    "\d+(\.\d+)?克\*\d+(\.\d+)?袋|"
    "\d+(\.\d+)?克x\d+(\.\d+)?袋|"
    "\d+(\.\d+)?gx\d+(\.\d+)?袋|"
    "\d+(\.\d+)?ml\*\d+(\.\d+)?袋|"
    "\d+(\.\d+)?毫升\*\d+(\.\d+)?袋|"
    "\d+(\.\d+)?毫升x\d+(\.\d+)?袋|"
    "\d+(\.\d+)?g\*\d+(\.\d+)?包|"
    "\d+(\.\d+)?mg\*\d+(\.\d+)?瓶|"
    "\d+(\.\d+)?克\*\d+(\.\d+)?瓶|"
    "\d+(\.\d+)?ml\*\d+(\.\d+)?瓶|"
    "\d+(\.\d+)?毫升\*\d+(\.\d+)?瓶|"
    "\d+(\.\d+)?毫升x\d+(\.\d+)?瓶|"
    "\d+(\.\d+)?iu\*\d+(\.\d+)?瓶|"
    "\d+(\.\d+)?mgx\d+(\.\d+)?粒|"
    "\d+(\.\d+)?gx\d+(\.\d+)?粒|"
    "\d+(\.\d+)?mg\*\d+(\.\d+)?粒|"
    "\d+(\.\d+)?g\*\d+(\.\d+)?粒|"
    "\d+(\.\d+)?mg\*\d+(\.\d+)?tb|"
    "\d+(\.\d+)?g\*\d+(\.\d+)?tb|"
    "\d+(\.\d+)?ug\*\d+(\.\d+)?揿|"
    "\d+(\.\d+)?ugx\d+(\.\d+)?揿|"
    "\d+(\.\d+)?mg\*\d+(\.\d+)?揿|"
    "\d+(\.\d+)?ug\*\d+(\.\d+)?掀|"
    "\d+(\.\d+)?mg\*\d+(\.\d+)?掀|"
    "\d+(\.\d+)?cm\*\d+(\.\d+)?cm|"
    "\d+(\.\d+)?mg\*\d+(\.\d+)?支|"
    "\d+(\.\d+)?g\*\d+(\.\d+)?支|"
    "\d+(\.\d+)?ml\*\d+(\.\d+)?盒|"
    "\d+(\.\d+)?ml\*\d+(\.\d+)?支|"
    "\d+(\.\d+)?毫升\*\d+(\.\d+)?支|"
    "\d+(\.\d+)?毫升x\d+(\.\d+)?支|"
    "\d+(\.\d+)?mg/\d+(\.\d+)?ml|"
    "\d+(\.\d+)?g/\d+(\.\d+)?ml|"
    "\d+(\.\d+)?mg:\d+(\.\d+)?ml|"
    "\d+(\.\d+)?g:\d+(\.\d+)?ml|"
    "\d+(\.\d+)?ml:\d+(\.\d+)?mg|"
    "\d+(\.\d+)?ml:\d+(\.\d+)?g|"
    "\d+(\.\d+)?g\*\d+(\.\d+)?瓶|"
    "(\()?\d+(\.\d+)?单位\*\d+(\.\d+)?支(\))?$|"
    "\d+(\.\d+)?ml\d+(\.\d+)?g|"
    "\d+(\.\d+)?ml/盒|"
    "\d+(\.\d+)?mg/支|"
    "\d+(\.\d+)?毫克/支|"
    "\d+(\.\d+)?克/支|"
    "\d+(\.\d+)?g/支|"
    "\d+(\.\d+)?ml/支|"
    "\d+(\.\d+)?粒/盒|"
    "\d+(\.\d+)?片/盒|"
    "\d+(\.\d+)?袋/盒|"
    "\d+(\.\d+)?贴/盒|"
    "\d+(\.\d+)?支/盒|"
    "\d+(\.\d+)?毫克/盒|"
    "\d+(\.\d+)?克/盒|"
    "\d+(\.\d+)?mg/盒|"
    "\d+(\.\d+)?g/盒|"
    "\d+(\.\d+)?毫升/瓶|"
    "\d+(\.\d+)?ml/瓶|"
    "\d+(\.\d+)?ml/袋|"
    "\d+(\.\d+)?mg/袋|"
    "\d+(\.\d+)?mg/粒|"
    "\d+(\.\d+)?mg/片|"
    "\d+(\.\d+)?毫克/片|"
    "\d+(\.\d+)?毫克/粒|"
    "\d+(\.\d+)?毫克/袋|"
    "\d+(\.\d+)?克/袋|"
    "\d+(\.\d+)?g/袋|"
    "\d+(\.\d+)?g/瓶$|"
    "\d+(\.\d+)?ml\*\d+(\.\d+)?$|"
    "\d+(\.\d+)?mg\*\d+(\.\d+)?$|"
    "\d+(\.\d+)?mgx\d+(\.\d+)?$|"
    "\(\d+(\.\d+)?mg\*\d+(\.\d+)?\)$|"
    "\(\d+(\.\d+)?\*\d+(\.\d+)?cm\)|"
    "\(\d+(\.\d+)?x\d+(\.\d+)?cm\)|"
    "\(\d+(\.\d+)?\*\d+(\.\d+)?mm\)|"
    "\(\d+(\.\d+)?x\d+(\.\d+)?mm\)|"
    "\d+(\.\d+)?g\*\d+(\.\d+)?$|"
    "\d+(\.\d+)?\*\d+(\.\d+)?$|"
    "\(\d+(\.\d+)?\*\d+(\.\d+)?\)|"
    "\(国产\d+(\.\d+)?ml\)$|"
    "\(\d+(\.\d+)?mg\)$|"
    "\(\d+(\.\d+)?毫克\)$|"
    "\(\d+(\.\d+)?袋剂\)$|"
    "\(\d+(\.\d+)?g\)$|"
    "\(\d+(\.\d+)?克\)$|"
    "\(\d+(\.\d+)?ml\)$|"
    "\(\d+(\.\d+)?粒\)$|"
    "\(\d+(\.\d+)?片\)$|"
    "\(\d+(\.\d+)?袋\)$|"
    "\(\d+(\.\d+)?支\)$|"
    "\(\d+(\.\d+)?包\)$|"
    "\(\d+(\.\d+)?贴\)$|"
    "\(\d+(\.\d+)?mg\)|"
    "\(\d+(\.\d+)?毫克\)|"
    "\(\d+(\.\d+)?袋剂\)|"
    "\(\d+(\.\d+)?g\)|"
    "\(\d+(\.\d+)?克\)|"
    "\(\d+(\.\d+)?ml\)|"
    "\(\d+(\.\d+)?粒\)|"
    "\(\d+(\.\d+)?片\)|"
    "\(\d+(\.\d+)?袋\)|"
    "\(\d+(\.\d+)?支\)|"
    "\(\d+(\.\d+)?包\)|"
    "\(\d+(\.\d+)?贴\)|"
    "\(\d+(\.\d+)?\)",
    "", str_1, flags=re.I)

str_1 = re.sub(
    "\(中国基\d+\)|"
    "\(国基\d+\)|"
    "\(带\d+\)|"
    "\(4\+7-Ⅴ\)|"
    "\(4\+7-Ⅳ\)|"
    "\(4\+7-Ⅲ\)|"
    "\(4\+7-Ⅱ\)|"
    "\(4\+7\)",
    "", str_1, flags=re.I)

str_1 = re.sub("\(\)", "", str_1)

# xxg or /xxg 在结尾
str_1 = re.sub(
    "/?(\d+(\.\d+)?ug)$|"
    "/?(\d+(\.\d+)?mg)$|"
    "/?(\d+(\.\d+)?毫克)$|"
    "/?(\d+(\.\d+)?g)$|"
    "/?(\d+(\.\d+)?克)$|"
    "/?(\d+(\.\d+)?ml)$|"
    "/?(\d+(\.\d+)?粒)$|"
    "/(\d+(\.\d+)?片)$|"
    "/?(\d+(\.\d+)?袋)$|"
    "/?(\d+(\.\d+)?支)$|"
    "/?(\d+(\.\d+)?包)$|"
    "/?(\d+(\.\d+)?贴)$",
    "", str_1, flags=re.I)

# xxg在开头
str_1 = re.sub(
    "^(\d+(\.\d+)?mg)|"
    "^(\d+(\.\d+)?毫克)|"
    "^(\d+(\.\d+)?g)|"
    "^(\d+(\.\d+)?克)|"
    "^(\d+(\.\d+)?ml)|"
    "^(\d+(\.\d+)?粒)|"
    "^(\d+(\.\d+)?片)|"
    "^(\d+(\.\d+)?袋)|"
    "^(\d+(\.\d+)?支)|"
    "^(\d+(\.\d+)?包)|"
    "^(\d+(\.\d+)?贴)",
    "", str_1, flags=re.I)

# 如果开头还有，再去一次。
if str_1 != '':
    if str_1[0] == "E" and is_chinese(str_1[1]):
        str_1 = str_1[1:]
    if str_1[0] == "+":
        str_1 = str_1[1:]
    if str_1[0] == ")":
        str_1 = str_1[1:]
    if str_1[0] == ")":
        str_1 = str_1[1:]
    if str_1[0] == "#":
        str_1 = str_1[1:]
    if str_1[0] == "_":
        str_1 = str_1[1:]
    if str_1[:2] == "兴-":
        str_1 = str_1[2:]
    if str_1[:2] == "G*":
        str_1 = str_1[2:]
    # 如果结尾还有，再去一次。
    if str_1[-1] == "Ω":
        str_1 = str_1[:-1]
    if str_1[-1] == "~":
        str_1 = str_1[:-1]
    if str_1[-2:] == "(带":
        str_1 = str_1[:-2]
    if str_1[-2:] == "(限":
        str_1 = str_1[:-2]
    if str_1[-1:] == "#":
        str_1 = str_1[:-1]
    if str_1[-1:] == "#":
        str_1 = str_1[:-1]
    if str_1[-1:] == "/":
        str_1 = str_1[:-1]
    if str_1[-1:] == "/":
        str_1 = str_1[:-1]
    if str_1[-1:] == "*":
        str_1 = str_1[:-1]
    if str_1[-1:] == "*":
        str_1 = str_1[:-1]
    if str_1[-1:] == "-":
        str_1 = str_1[:-1]

# *(
if "*(" in str_1 or "(*" in str_1:
    str_1 = str_1.replace("*(", "(").replace("(*", "(")

#
if len(str_1) >= 5 and "西药费:" in str_1:
    str_1 = str_1.replace('西药费:', '')
elif len(str_1) >= 5 and "西药费" in str_1:
    str_1 = str_1.replace('西药费', '')
elif len(str_1) >= 5 and "中药费" in str_1:
    str_1 = str_1.replace('中药费', '')
elif len(str_1) >= 5 and "中药费:" in str_1:
    str_1 = str_1.replace('中药费:', '')
elif len(str_1) >= 5 and "治疗费:" in str_1:
    str_1 = str_1.replace('治疗费:', '')
elif len(str_1) >= 5 and "治疗费" in str_1:
    str_1 = str_1.replace('治疗费', '')
elif len(str_1) >= 6 and "卫生材料费:" in str_1:
    str_1 = str_1.replace('卫生材料费:', '')
elif len(str_1) >= 6 and "卫生材料费" in str_1:
    str_1 = str_1.replace('卫生材料费', '')